package com.jianyushe.gof23.learncode.creationalpattern.factory.simplefactory;

import org.junit.Test;

/**
 * @author Create by Alvin
 * @Description TODO
 * @date 2021-10-11 15:11
 */
public class Client01Test {
    @Test
    public void test(){
        Car audi = SimpleFactoryDemo.createAudi();
        Car byd = SimpleFactoryDemo.createByd();

        audi.run();
        byd.run();
    }
}
